#ifndef COMMAND_FORMAT_H
#define COMMAND_FORMAT_H

#include "wordfmt.h"
#include "arryimpl.h"

class CommandFormat : private SmartArrayImpl<WordFormat, 8>
{
	unsigned int priority_;
public:
	CommandFormat();
	unsigned int getPriority();
	bool addWordFormat(const char *format);
	bool setFormatByStr(const char *format, unsigned char index);
	WordFormat *end();
	WordFormat *begin();
};

#endif
